package com.hsy.crm.web.domain.entity;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 类型数据   第一次用于打印单据类型
 */
@Table(name = "sys_data")
public class Data extends BaseEntity{

    @Column(length = 10)
    private String text;

    @Column(length = 10)
    private Integer value;

    /**
     * 1:打印单据类型名称
     */
    @Column(length = 11)
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    public String getDynamicTableName() {
        return "sys_data";
    }

}
